﻿using Microsoft.Extensions.DependencyInjection;
using TimServerSDK.Core;

namespace TimServerSDK.Test
{
    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            //services.AddTransient<IDependency, DependencyClass>();
            services.AddTimServerSDK();

            services.Configure<TimServerOptions>(options =>
            {
                options.AppId = TimServerSDKConsts.AppId;
                options.AppSecret = TimServerSDKConsts.AppSecret;
                options.Identifier = TimServerSDKConsts.Identifier;
            });
        }
    }
}